<link href="__CDN__/assets/addons/qingdongams/css/index.css?v={$Think.config.site.version}" rel="stylesheet">

<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#first" class="first" data-toggle="tab">全部商机</a></li>
            <li><a href="#second" class="second" data-toggle="tab">我负责的商机</a></li>
            <li><a href="#third" class="third" data-toggle="tab">下属负责的商机</a></li>
            <li><a href="#four" data-toggle="tab">今日待跟进商机</a></li>
            <li><a href="#five" data-toggle="tab">今日已跟进商机</a></li>
<!--            <li><a href="#six" data-toggle="tab">从未跟进的商机</a></li>-->
        </ul>
    </div>
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="first">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="second">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table1" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="third">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table2" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="four">
                <div class="widget-body no-padding">
                    <div id="toolbar3" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table3" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="five">
                <div class="widget-body no-padding">
                    <div id="toolbar4" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table4" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="six">
                <div class="widget-body no-padding">
                    <div id="toolbar5" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a class="btn btn-success btn-change btn-transfer {:$auth->check('qingdongams/customer/business/batch_change')?'':'hide'}"><i class="fa fa-mail-reply"></i> 批量转移</a>
                        <a class="btn btn-warning btn-change btn-imports {:$auth->check('qingdongams/customer/business/import')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入</a>
                        <a class="btn btn-success btn-export {:$auth->check('qingdongams/customer/business/export')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出</a>
                        <a class="btn btn-warning btn-change btn-imports-product {:$auth->check('qingdongams/customer/business/import_product')?'':'hide'}"  data-params="action=start"  href="javascript:;"><i class="fa fa-upload dz-message"></i> 导入产品明细</a>
                        <a class="btn btn-success btn-export-product {:$auth->check('qingdongams/customer/business/export_product')?'':'hide'}" data-multiple="false"  href="javascript:;"><i class="fa fa-download dz-message"></i> 导出产品明细</a>
                    </div>
                    <table id="table5" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
